package com.edu.exam.enums.curriculum.questionbank;

/**
 * 版本状态枚举
 * 
 * 试题版本的状态定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum VersionStatus {
    DRAFT("DRAFT", "草稿"),
    PENDING("PENDING", "待审核"),
    APPROVED("APPROVED", "已批准"),
    REJECTED("REJECTED", "已拒绝"),
    ACTIVE("ACTIVE", "已生效"),
    EXPIRED("EXPIRED", "已过期"),
    DEPRECATED("DEPRECATED", "已弃用");

    private final String code;
    private final String description;

    VersionStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}